package cn.stylefeng.guns.modular.fileAssociation.model.params;

import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 文件关联
 * </p>
 *
 * @author jalor
 * @since 2019-10-21
 */
@Data
public class FileAssociationParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


    /**
     * 主键ID
     */
    private Long id;

    /**
     * 类型[1=产品,2=功能,3=需求,4=里程碑]
     */
    private Boolean type;

    /**
     * 源数据ID
     */
    private Long sourceId;

    /**
     * 文件ID
     */
    private Long fileId;

    @Override
    public String checkParam() {
        return null;
    }

}
